<?php use_stylesheet('jquery.fancybox-1.3.1.css') ?>
<?php use_javascript('jquery.fancybox-1.3.1.js') ?>
    

    <div style="display:none">
        <div id="studentLoginBox" class="fancyDivClass" style="width:393px;">   
            <div id="post_comment_button" style="display:none;"></div>    
            <div class="signIn center">
                <h2 class="colorBlue">Already a Member? Sign In</h2>
                <form name="student_login_frm" id="student_login_frm" action="" method="post" onsubmit="return check_Student_Login();">
                    <div>
                        <label for="student_email" class="bold">Login Email</label> <span id="student_email_text" class="bold colorRed" style="display:none; margin:4px 4px;">Please enter the correct email address.</span> <span id="student_wrong_email_text" class="bold colorRed" style="display:none; margin:4px 4px;">Please enter the correct email address.</span>
                        <br>
                        <input type="text" id="student_email" value="" name="student_email" tabindex="1" style="width:350px; height:17px;">
                    </div>
                    <br>
                    <div>
                        <label for="student_password" class="bold">Password</label><span id="student_password_text" class="bold colorRed" style="display:none; margin:4px 4px;">Please enter the password</span>
                        <br>
                        <input type="password" id="student_password" name="student_password" tabindex="2" style="width:350px; height:17px;" value="">
                    </div>
                    <br>
                    <input type="checkbox" name="remember_student" id="remember_student" value="1" style="margin-right:7px;">
                    <label for="remember_student" style=""><b>Remember me on this computer</b></label>
                    <br>
                    <br>

                    <input class="fancyDivBtn" type="image" name="signIn" id="signIn" style="position:relative; z-index:1" onblur="this.src='http://www.indiacollegesearch.com/images/sign_in1.png'" onfocus="this.src='http://www.indiacollegesearch.com/images/sign_in2.png'" onmouseout="this.src='http://www.indiacollegesearch.com/images/sign_in1.png'" onmouseover="this.src='http://www.indiacollegesearch.com/images/sign_in1.png'" onclick="this.src='http://www.indiacollegesearch.com/images/sign_in1.png'" src="http://www.indiacollegesearch.com/images/sign_in1.png">

                    <a href="#studentForgotPasswordBox" style="text-decoration:underline;padding-top:7px;" class="student_forgot_password floatRight">Forgot password?</a>
                    <input type="hidden" name="login_institute_id" id="login_institute_id" value="">
                    <input type="hidden" name="login_course_type" id="login_course_type" value="">
                    <input type="hidden" name="is_shortlist" id="is_shortlist" value="">
                    <input type="hidden" name="is_send_profile" id="is_send_profile" value="">
                </form>

                <div class="center" style="border-bottom: 1px dotted #9DCFE4; border-top: 1px dotted #9DCFE4; margin:6px 0; padding: 3px 0;">
                    <!--	facebook-->
                    <div id="fb-root" class=" fb_reset"><div style="position: absolute; top: -10000px; height: 0px; width: 0px; "><div><iframe id="fb_xdm_frame_http" name="fb_xdm_frame_http" src="http://static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f26cd66ce4&amp;origin=http%3A%2F%2Fwww.indiacollegesearch.com&amp;channel_path=%2Fchannel.html%3Ffb_xd_fragment%23xd_sig%3Df2a5fd860%26"></iframe><iframe id="fb_xdm_frame_https" name="fb_xdm_frame_https" src="https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f26cd66ce4&amp;origin=http%3A%2F%2Fwww.indiacollegesearch.com&amp;channel_path=%2Fchannel.html%3Ffb_xd_fragment%23xd_sig%3Df2a5fd860%26"></iframe></div><div></div></div></div>

                    <a class="center" style="display:block; width:150px;" href="javascript:void(0);" onclick="doLogin();return false;"><img src="http://www.indiacollegesearch.com/images/fb_sign_in.png"></a>

                </div>

                <p class="bold centerAlign">Not a Member? Please <a style="text-decoration:underline; font-size:12px !important;" class="student_registration" href="#studentRegistrationBox">Register</a> here</p>
            </div>

        </div>
    </div>


    <script type="text/javascript">
        window.fbAsyncInit = function() {
            FB.init({
                appId      : '329706190373689',		  
                status     : true, 
                cookie     : true,
                xfbml      : true,
                channelUrl : 'http://www.indiacollegesearch.com/channel.html', 
                oauth : true
            });

            FB.Event.subscribe('auth.login', function(response) {
                //facebook_login_ics();	
			
            });
		
            FB.Event.subscribe('auth.logout', function(response) {
                // window.location.reload();
            });
		
            // Browser-specific hacks to make FB Connect more reliable
            /* $.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
        if ($.browser.chrome || $.browser.msie) {
            FB.XD._origin = window.location.protocol + "//" + document.domain + "/" + FB.guid();
            FB.XD.Flash.init();
            FB.XD._transport = "flash";
        } else if ($.browser.opera) {
            FB.XD._transport = "fragment";
            FB.XD.Fragment._channelUrl = window.location.protocol + "//" + window.location.host + "/";
        }*/
        };

			
    
        //Do Login
        function doLogin() { 			
            FB.login(function(response) {					
                if (response.authResponse) {	
                    facebook_login_ics();						 
                    FB.api('/me',
                    function(response) {	
                        var accessToken = response.authResponse.accessToken;	
				 	  
                        //alert('User: ' + response.name);
                        //alert('Full details: ' + JSON.stringify(response));
                        //facebook_login_ics();	
                    }
                );
                } else {
                    console.log('User cancelled login or did not fully authorize.');
                }
            } , {scope:'email'}); 
        }//Do Login
	 
	 
	 
	 	
        (function(d){
            var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
            js = d.createElement('script'); js.id = id; js.async = true;
            js.src = "//connect.facebook.net/en_US/all.js";
            d.getElementsByTagName('head')[0].appendChild(js);
        }(document));
   
        $(document).ready(function(){
            $(".student_registration").fancybox({'transitionIn'	: 'elastic',
                'transitionOut'	: 'elastic',
                'scrolling'   : 'no',	
                'autoScale'   : false,
                'onComplete'	: function() {
                    $("#student_registration_name_text").hide();
                    $("#student_registration_email_text").hide();
                    $("#student_registration_password_text").hide();
                    $("#agree_msg").hide();
                }
	
            });
            $(".student_forgot_password").fancybox({'transitionIn'	: 'elastic',
                'transitionOut'	: 'elastic',
                'scrolling'   : 'no',	
                'autoScale'   : false ,	
                'onComplete'	: function() {
                    $("#student_forgot_email_text").hide();	
		
                }
	
            });
        });


        (function(){
            // remove layerX and layerY
            var all = $.event.props,
            len = all.length,
            res = [];
            while (len--) {
                var el = all[len];
                if (el != 'layerX' && el != 'layerY') res.push(el);
            }
            $.event.props = res;
        }());

    </script>


    <script src="http://www.indiacollegesearch.com/js/jquery.showpassword.js" type="text/javascript" charset="utf-8"></script>

    <!-- fancy box div -->
    <div style="display:none">
        <div id="studentRegistrationBox" class="fancyDivClass" style="min-height:540px !important;width:396px;">

            <div id="studentRegistrationBox_innerDiv" class="signIn center">
                <h2 class="colorBlue">New to IndiaCollegeSearch?</h2>     
                <br>

                <form name="student_registration_frm" id="student_registration_frm" action="" method="post" onsubmit="return chkStudent_Registration();">
                    <div>
                        <label for="student_registration_name" class="bold">Full Name</label>
                        <span id="student_registration_name_text" class="bold colorRed" style="margin:4px 4px;display:none;">Please enter your name.</span> <br>
                        <input type="text" id="student_registration_name" maxlength="50" name="student_registration_name" tabindex="1" autocomplete="off" style="width:350px; height:17px;" value="">
                    </div>
                    <br>
                    <div>
                        <label for="student_registration_email" class="bold">Email</label>
                        <span id="student_registration_email_text" class="bold colorRed" style="margin:4px 4px;display:none;">Please enter the correct email address.</span> <br>
                        <input type="text" id="student_registration_email" name="student_registration_email" value="" autocomplete="off" tabindex="2" style="width:350px; height:17px;" onblur="checkDuplicateStudent(this.value);">
                    </div>
                    <br>
                    <div>
                        <label for="student_registration_password" class="bold">Password</label>
                        <span id="student_registration_password_text" class="bold colorRed" style="margin:4px 4px;display:none;">Please enter the password.</span> <br>
                        <input type="password" autocomplete="off" id="student_registration_password" name="student_registration_password" maxlength="15" data-typetoggle="#show-password" class=" inptDet" tabindex="3" style="width: 350px; height: 17px; "><input type="text" class=" inptDet" style="width: 350px; height: 17px; display: none; " name="student_registration_password-clone" tabindex="3">
                        <br>
                        <input type="checkbox" name="show-password" id="show-password" style="margin-right:7px; margin-top:6px;">
                        <label for="show-password" style="font-size:11px;">Show Password</label>
                    </div>
                    <div>
                        <label for="captcha" class="bold">Enter Code</label>
                        <span><img src="http://www.indiacollegesearch.com/functions/captcha_code_file.php" height="20"></span> <br>
                        <input type="text" autocomplete="off" maxlength="6" id="captcha" name="captcha" tabindex="4" style="width:350px; height:17px;">
                    </div>
                    <br>

                    <input type="checkbox" name="agree" value="Y" tabindex="5" style="margin-right:7px;">
                    <label for="agree" style="color:#777777;"><b>I agree to the <a target="_blank" href="http://www.indiacollegesearch.com/terms-and-condition.php" style="font-size:12px; color:#3D6295;">Terms and Conditions</a> and <a target="_blank" href="http://www.indiacollegesearch.com/privacy-policy.php" style="font-size:12px; color:#3D6295;">Privacy Policy</a>. </b></label>
                    <span id="agree_msg" class="bold colorRed" style="display:none; margin:4px 0;">Please read and accept the Terms and Conditions to register.</span> 
                    <br>           
                    <input class="fancyDivBtn" type="image" name="signUp" id="signUp" style="position:relative; z-index:1;" onblur="this.src='http://www.indiacollegesearch.com/images/register1.png'" onfocus="this.src='http://www.indiacollegesearch.com/images/register2.png'" onmouseout="this.src='http://www.indiacollegesearch.com/images/register1.png'" onmouseover="this.src='http://www.indiacollegesearch.com/images/register1.png'" onclick="this.src='http://www.indiacollegesearch.com/images/register1.png'" src="http://www.indiacollegesearch.com/images/register1.png" tabindex="6"> 
                    <input type="hidden" name="login_institute_id" id="login_institute_id" value="">
                    <input type="hidden" name="login_course_type" id="login_course_type" value="">      <input type="hidden" name="is_shortlist" id="is_shortlist" value="">
                    <input type="hidden" name="is_send_profile" id="is_send_profile" value="">
                </form>
                <div class="center" style="border-bottom: 1px dotted #9DCFE4; border-top: 1px dotted #9DCFE4; margin:6px 0; padding: 3px 0;">
                    <!--	facebook-->
                    <div id="fb-root"></div>

                    <a class="center" style="display:block; width:150px;" href="javascript:void(0);" onclick="doLogin();return false;"><img src="http://www.indiacollegesearch.com/images/fb_sign_in.png"></a>

                </div>
                <p class="bold centerAlign">Already a Member?  <a style="text-decoration:underline; font-size:12px !important;color:#D85A5E;" href="#studentLoginBox" class="student_login">Sign In</a> here</p>
            </div>
            <!--confirmation_div-->
            <div id="confirmation_div" class="center relative confimation" style="display:none;">
                <h2 class="centerAlign bold"> Thank you for registering with IndiaCollegeSearch ! </h2></div>
            <!--confirmation_div-->
        </div>
    </div>
    

<!-- fancy box div -->
<div style="display:none">
    <div id="studentForgotPasswordBox" class="fancyDivClass" style="width:353px;">
        <div class="signIn center">
            <h2 class="colorBlue">Forgot Password?</h2>
            <br>
            <p style="margin-bottom:4px;">Type in your email id, submit and check your mail inbox.</p> <br>
            <form name="student_forgot_password_frm" id="student_forgot_password_frm" action="" method="post" onsubmit="return checkStudentForgotPassword();">
                <div>
                    <label for="student_forgot_email" class="bold">Email</label> <span id="student_forgot_email_text" class="bold colorRed" style="display:none; margin:4px 0;">Please enter the correct email address.</span><br>
                    <input type="text" id="student_forgot_email" name="student_forgot_email" tabindex="1" style="width:310px; height:17px;">
                </div>
                <br>
                <input class="fancyDivBtn" type="image" name="forgot_password_submit" id="forgot_password_submit" style="position:relative; z-index:1" onblur="this.src='http://www.indiacollegesearch.com/images/submit1.png'" onfocus="this.src='http://www.indiacollegesearch.com/images/submit2.png'" onmouseout="this.src='http://www.indiacollegesearch.com/images/submit1.png'" onmouseover="this.src='http://www.indiacollegesearch.com/images/submit1.png'" onclick="this.src='http://www.indiacollegesearch.com/images/submit1.png'" src="http://www.indiacollegesearch.com/images/submit1.png" tabindex="2">
                <a href="#studentLoginBox" class="student_login floatRight" style="padding-top:7px;color:#D85A5E;">Back to Sign-in</a>
            </form>

        </div>
    </div>
</div>
<!-- / fancy box div -->  








<script type="text/javascript">
 
    $(document).ready(function(){
        $(".student_login").fancybox(
        {'transitionIn'	: 'elastic',
            'transitionOut'	: 'elastic',
            'scrolling'   : 'no',	
            'onComplete'	: function() {
                $("#student_email_text").hide();
                $("#student_password_text").hide();
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function(){	
        $('.cclisting').hide();
        $('.colleges1').hide();
        $('.location1').hide();
        $('#courses').click(function ()
        {	
            $('.cclisting').show();				   
            $('.colleges1').slideToggle('slow');	
            $('html, body').animate({ scrollTop: $('.cclisting').offset().top }, 1000);
		  			
        });
		  
        $('#location').click(function ()
        {	
            $('.cclisting').show();			  
            $('.location1').slideToggle('slow');
            $('html, body').animate({ scrollTop: $('.cclisting').offset().top }, 1000);
		  
		  
        });
		
    });
</script>

<!-- fancy box login-->
<script type="text/javascript">

  
$(document).ready(function(){
//			$('#hidden1').hide();
//				$('#branches').click(function (){
// 			$('#hidden1').slideToggle('slow');
//		});
//		$('#moreBranches_hidden2').hide();
//		$('#LessBranches').hide();		
//		
//		$('#moreBranches').click(function (){ 					
//	 		$('#moreBranches_hidden2').slideToggle('slow');
//			$('html, body').animate({ scrollTop: $('#branches').offset().top }, 3000);
//			$('#moreBranches').hide();
//			$('#LessBranches').show();	
//		});	
//		$('#LessBranches').click(function (){ 					
//	 		$('#moreBranches_hidden2').slideToggle('slow');
//			$('html, body').animate({ scrollTop: $('#branches').offset().top }, 3000);
//			$('#moreBranches').show();
//			$('#LessBranches').hide();		
//			
//		});	
//			
//   		$('#admission_criteria_hidden3').hide();		$('#admission_criteria').click(function (){ 				
//	 		$('#admission_criteria_hidden3').slideToggle('slow');
//		});	   						
//				
//   		$('#hiddenMoreCriteria').hide();
//		$('#lessCriteria').hide();
//		
//		$('#moreCriteria').click(function (){ 					
//	 		$('#hiddenMoreCriteria').slideToggle('slow');
//			$('html, body').animate({ scrollTop: $('#admission_criteria_hidden3').offset().top }, 3000);
//			$('#moreCriteria').hide();
//			$('#lessCriteria').show();
//		});		
//		$('#lessCriteria').click(function (){ 					
//	 		$('#hiddenMoreCriteria').slideToggle('slow');
//			$('html, body').animate({ scrollTop: $('#admission_criteria_hidden3').offset().top }, 3000);
//			$('#lessCriteria').hide();
//			$('#moreCriteria').show();
//			
//		});	
		
	$(".image_tooltip").tipTip({maxWidth: "auto", delay: 50 });
	$(".icon_tooltip").tipTip({maxWidth: "auto", defaultPosition: "top", delay: 50 });

});


//
//
// var _gaq = _gaq || [];
//  _gaq.push(['_setAccount', 'UA-18716080-1']);
//  _gaq.push(['_setDomainName', 'indiacollegesearch.com']);
//  _gaq.push(['_trackPageview']);
//
//  (function() {
//    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
//    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
//    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
//  })();
// 


</script>